package com.niuwa.p2p.dao.role;

import com.niuwa.p2p.dao.MyBatisDao;

@MyBatisDao
public interface RoleResourceDao {
	/**
	 * 绑定角色、资源关系
	 * @param roleResource
	 * @return
	 */
	public int saveRoleResource(int roleId,int resourceId);
	
	/**
	 * 解绑角色、资源关系	
	 * @param role
	 * @return
	 */
	public int deleteRoleResource(int roleId) ;
	
}
